@import '~styles/colors.less';

.button {
  display: block;
  height: 60px;

  font-size: 14px;
  color: @adminText;

  :global {
    i, span {
      display: inline-block;
      vertical-align: top;
      line-height: 60px;
    }
    i {
      width: 60px;
      text-align: center;
      font-size: 22px;
      color: @primarySub;
    }
    span {
      font-weight: 600;
    }
  }

  &:hover {
    background-color: @primaryBack;
  }
}

.dark {
  :global i {
    color: @adminText;
  }
}

.buttonHolder {
  position: relative;
}

.caret {
  position: absolute;
  right: 0;
  top: 0;
  height: 60px;
  width: 60px;
  text-align: center;
  display: inline-block;

  :global i {
    color: @adminText;
    font-size: 22px;
    line-height: 60px;
  }

  &:hover {
    :global i {
      color: @adminTextHighlight;
    }
  }
}

.active {
  background-color: @primary;

  :global {
    i, span {
      color: #ffffff;
    }
  }

  .caret {
    :global {
      color: #ffffff;
    }
  }

  &:hover {
    background-color: @primary;
  }
}
